[INFO] cloning repository https://github.com/upsidedown8/cryptopals
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/upsidedown8/cryptopals" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fupsidedown8%2Fcryptopals", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fupsidedown8%2Fcryptopals'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5cfd5879774f862392164ba2f4d216e87e27f70b
[INFO] checking upsidedown8/cryptopals against try#e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e for pr-101680
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fupsidedown8%2Fcryptopals" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/upsidedown8/cryptopals on toolchain e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/upsidedown8/cryptopals
[INFO] finished tweaking git repo https://github.com/upsidedown8/cryptopals
[INFO] tweaked toml for git repo https://github.com/upsidedown8/cryptopals written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/upsidedown8/cryptopals already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c75549d850d95e38bd657daff71a69193b0d4a905fc3a0231dfca75494729db6
[INFO] running `Command { std: "docker" "start" "-a" "c75549d850d95e38bd657daff71a69193b0d4a905fc3a0231dfca75494729db6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c75549d850d95e38bd657daff71a69193b0d4a905fc3a0231dfca75494729db6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c75549d850d95e38bd657daff71a69193b0d4a905fc3a0231dfca75494729db6", kill_on_drop: false }`
[INFO] [stdout] c75549d850d95e38bd657daff71a69193b0d4a905fc3a0231dfca75494729db6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 567b4798514dcbbf508b62c3d0d0a523297ce5935527d4d1e1b79c6fcea46e40
[INFO] running `Command { std: "docker" "start" "-a" "567b4798514dcbbf508b62c3d0d0a523297ce5935527d4d1e1b79c6fcea46e40", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.98
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.10
[INFO] [stderr]     Checking getrandom v0.2.3
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.4
[INFO] [stderr]     Checking cryptopals v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AesKey`
[INFO] [stdout]   --> src/util.rs:31:15
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let key = AesKey::new(AesKeyStandard::AES128, &key).unwrap();
[INFO] [stdout]    |               ^^^^^^ use of undeclared type `AesKey`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AesKeyStandard`
[INFO] [stdout]   --> src/util.rs:31:27
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let key = AesKey::new(AesKeyStandard::AES128, &key).unwrap();
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^ use of undeclared type `AesKeyStandard`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AesPadding`
[INFO] [stdout]   --> src/util.rs:34:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |         padding: AesPadding::PKCS7,
[INFO] [stdout]    |                  ^^^^^^^^^^ use of undeclared type `AesPadding`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AesMode`
[INFO] [stdout]   --> src/util.rs:35:15
[INFO] [stdout]    |
[INFO] [stdout] 35 |         mode: AesMode::Ecb,
[INFO] [stdout]    |               ^^^^^^^ use of undeclared type `AesMode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AesKey`
[INFO] [stdout]   --> src/util.rs:47:15
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let key = AesKey::new(AesKeyStandard::AES128, &key).unwrap();
[INFO] [stdout]    |               ^^^^^^ use of undeclared type `AesKey`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AesKeyStandard`
[INFO] [stdout]   --> src/util.rs:47:27
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let key = AesKey::new(AesKeyStandard::AES128, &key).unwrap();
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^ use of undeclared type `AesKeyStandard`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AesPadding`
[INFO] [stdout]   --> src/util.rs:50:18
[INFO] [stdout]    |
[INFO] [stdout] 50 |         padding: AesPadding::PKCS7,
[INFO] [stdout]    |                  ^^^^^^^^^^ use of undeclared type `AesPadding`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AesMode`
[INFO] [stdout]   --> src/util.rs:51:15
[INFO] [stdout]    |
[INFO] [stdout] 51 |         mode: AesMode::Ecb,
[INFO] [stdout]    |               ^^^^^^^ use of undeclared type `AesMode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AesKey`
[INFO] [stdout]   --> src/util.rs:31:15
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let key = AesKey::new(AesKeyStandard::AES128, &key).unwrap();
[INFO] [stdout]    |               ^^^^^^ use of undeclared type `AesKey`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AesKeyStandard`
[INFO] [stdout]   --> src/util.rs:31:27
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let key = AesKey::new(AesKeyStandard::AES128, &key).unwrap();
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^ use of undeclared type `AesKeyStandard`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AesPadding`
[INFO] [stdout]   --> src/util.rs:34:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |         padding: AesPadding::PKCS7,
[INFO] [stdout]    |                  ^^^^^^^^^^ use of undeclared type `AesPadding`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AesMode`
[INFO] [stdout]   --> src/util.rs:35:15
[INFO] [stdout]    |
[INFO] [stdout] 35 |         mode: AesMode::Ecb,
[INFO] [stdout]    |               ^^^^^^^ use of undeclared type `AesMode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AesKey`
[INFO] [stdout]   --> src/util.rs:47:15
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let key = AesKey::new(AesKeyStandard::AES128, &key).unwrap();
[INFO] [stdout]    |               ^^^^^^ use of undeclared type `AesKey`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AesKeyStandard`
[INFO] [stdout]   --> src/util.rs:47:27
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let key = AesKey::new(AesKeyStandard::AES128, &key).unwrap();
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^ use of undeclared type `AesKeyStandard`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AesPadding`
[INFO] [stdout]   --> src/util.rs:50:18
[INFO] [stdout]    |
[INFO] [stdout] 50 |         padding: AesPadding::PKCS7,
[INFO] [stdout]    |                  ^^^^^^^^^^ use of undeclared type `AesPadding`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AesMode`
[INFO] [stdout]   --> src/util.rs:51:15
[INFO] [stdout]    |
[INFO] [stdout] 51 |         mode: AesMode::Ecb,
[INFO] [stdout]    |               ^^^^^^^ use of undeclared type `AesMode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/cipher/aes.rs:223:40
[INFO] [stdout]     |
[INFO] [stdout] 223 |             self.sub_bytes(&mut state, &S_BOX);
[INFO] [stdout]     |                  ---------             ^^^^^^ expected array `[u8; 16]`, found `u32`
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&[[u8; 16]; 16]`
[INFO] [stdout]                found reference `&[u32; 256]`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/cipher/aes.rs:254:8
[INFO] [stdout]     |
[INFO] [stdout] 254 |     fn sub_bytes(&self, state: &mut [[u8; 4]; 4], s_box: &[[u8; 16]; 16]) {
[INFO] [stdout]     |        ^^^^^^^^^                                  ----------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/cipher/aes.rs:223:40
[INFO] [stdout]     |
[INFO] [stdout] 223 |             self.sub_bytes(&mut state, &S_BOX);
[INFO] [stdout]     |                  ---------             ^^^^^^ expected array `[u8; 16]`, found `u32`
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&[[u8; 16]; 16]`
[INFO] [stdout]                found reference `&[u32; 256]`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/cipher/aes.rs:254:8
[INFO] [stdout]     |
[INFO] [stdout] 254 |     fn sub_bytes(&self, state: &mut [[u8; 4]; 4], s_box: &[[u8; 16]; 16]) {
[INFO] [stdout]     |        ^^^^^^^^^                                  ----------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/cipher/aes.rs:229:36
[INFO] [stdout]     |
[INFO] [stdout] 229 |         self.sub_bytes(&mut state, &S_BOX);
[INFO] [stdout]     |              ---------             ^^^^^^ expected array `[u8; 16]`, found `u32`
[INFO] [stdout]     |              |
[INFO] [stdout]     |              arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&[[u8; 16]; 16]`
[INFO] [stdout]                found reference `&[u32; 256]`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/cipher/aes.rs:254:8
[INFO] [stdout]     |
[INFO] [stdout] 254 |     fn sub_bytes(&self, state: &mut [[u8; 4]; 4], s_box: &[[u8; 16]; 16]) {
[INFO] [stdout]     |        ^^^^^^^^^                                  ----------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/cipher/aes.rs:229:36
[INFO] [stdout]     |
[INFO] [stdout] 229 |         self.sub_bytes(&mut state, &S_BOX);
[INFO] [stdout]     |              ---------             ^^^^^^ expected array `[u8; 16]`, found `u32`
[INFO] [stdout]     |              |
[INFO] [stdout]     |              arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&[[u8; 16]; 16]`
[INFO] [stdout]                found reference `&[u32; 256]`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/cipher/aes.rs:254:8
[INFO] [stdout]     |
[INFO] [stdout] 254 |     fn sub_bytes(&self, state: &mut [[u8; 4]; 4], s_box: &[[u8; 16]; 16]) {
[INFO] [stdout]     |        ^^^^^^^^^                                  ----------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/cipher/aes.rs:242:40
[INFO] [stdout]     |
[INFO] [stdout] 242 |             self.sub_bytes(&mut state, &S_BOX_INV);
[INFO] [stdout]     |                  ---------             ^^^^^^^^^^ expected array `[u8; 16]`, found `u32`
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&[[u8; 16]; 16]`
[INFO] [stdout]                found reference `&[u32; 256]`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/cipher/aes.rs:254:8
[INFO] [stdout]     |
[INFO] [stdout] 254 |     fn sub_bytes(&self, state: &mut [[u8; 4]; 4], s_box: &[[u8; 16]; 16]) {
[INFO] [stdout]     |        ^^^^^^^^^                                  ----------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/cipher/aes.rs:242:40
[INFO] [stdout]     |
[INFO] [stdout] 242 |             self.sub_bytes(&mut state, &S_BOX_INV);
[INFO] [stdout]     |                  ---------             ^^^^^^^^^^ expected array `[u8; 16]`, found `u32`
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&[[u8; 16]; 16]`
[INFO] [stdout]                found reference `&[u32; 256]`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/cipher/aes.rs:254:8
[INFO] [stdout]     |
[INFO] [stdout] 254 |     fn sub_bytes(&self, state: &mut [[u8; 4]; 4], s_box: &[[u8; 16]; 16]) {
[INFO] [stdout]     |        ^^^^^^^^^                                  ----------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/cipher/aes.rs:248:36
[INFO] [stdout]     |
[INFO] [stdout] 248 |         self.sub_bytes(&mut state, &S_BOX_INV);
[INFO] [stdout]     |              ---------             ^^^^^^^^^^ expected array `[u8; 16]`, found `u32`
[INFO] [stdout]     |              |
[INFO] [stdout]     |              arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&[[u8; 16]; 16]`
[INFO] [stdout]                found reference `&[u32; 256]`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/cipher/aes.rs:254:8
[INFO] [stdout]     |
[INFO] [stdout] 254 |     fn sub_bytes(&self, state: &mut [[u8; 4]; 4], s_box: &[[u8; 16]; 16]) {
[INFO] [stdout]     |        ^^^^^^^^^                                  ----------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `copy_from_slice` found for type `{integer}` in the current scope
[INFO] [stdout]    --> src/cipher/aes.rs:416:27
[INFO] [stdout]     |
[INFO] [stdout] 416 |             round_keys[i].copy_from_slice(&self.data[start..end]);
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^ method not found in `{integer}`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/cipher/aes.rs:426:53
[INFO] [stdout]     |
[INFO] [stdout] 426 |                 temp = self.sub_word(&self.rot_word(&temp));
[INFO] [stdout]     |                                            -------- ^^^^^ expected `u32`, found `&u32`
[INFO] [stdout]     |                                            |
[INFO] [stdout]     |                                            arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/cipher/aes.rs:445:8
[INFO] [stdout]     |
[INFO] [stdout] 445 |     fn rot_word(&self, w: u32) -> u32 {
[INFO] [stdout]     |        ^^^^^^^^        ------
[INFO] [stdout] help: consider removing the borrow
[INFO] [stdout]     |
[INFO] [stdout] 426 -                 temp = self.sub_word(&self.rot_word(&temp));
[INFO] [stdout] 426 +                 temp = self.sub_word(&self.rot_word(temp));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/cipher/aes.rs:426:38
[INFO] [stdout]     |
[INFO] [stdout] 426 |                 temp = self.sub_word(&self.rot_word(&temp));
[INFO] [stdout]     |                             -------- ^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `&u32`
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/cipher/aes.rs:450:8
[INFO] [stdout]     |
[INFO] [stdout] 450 |     fn sub_word(&self, w: u32) -> u32 {
[INFO] [stdout]     |        ^^^^^^^^        ------
[INFO] [stdout] help: consider removing the borrow
[INFO] [stdout]     |
[INFO] [stdout] 426 -                 temp = self.sub_word(&self.rot_word(&temp));
[INFO] [stdout] 426 +                 temp = self.sub_word(self.rot_word(&temp));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `u32`
[INFO] [stdout]    --> src/cipher/aes.rs:427:17
[INFO] [stdout]     |
[INFO] [stdout] 427 |                 temp[0] ^= ROUND_CONSTANTS[(i / key_size) - 1];
[INFO] [stdout]     |                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/cipher/aes.rs:248:36
[INFO] [stdout]     |
[INFO] [stdout] 248 |         self.sub_bytes(&mut state, &S_BOX_INV);
[INFO] [stdout]     |              ---------             ^^^^^^^^^^ expected array `[u8; 16]`, found `u32`
[INFO] [stdout]     |              |
[INFO] [stdout]     |              arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&[[u8; 16]; 16]`
[INFO] [stdout]                found reference `&[u32; 256]`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/cipher/aes.rs:254:8
[INFO] [stdout]     |
[INFO] [stdout] 254 |     fn sub_bytes(&self, state: &mut [[u8; 4]; 4], s_box: &[[u8; 16]; 16]) {
[INFO] [stdout]     |        ^^^^^^^^^                                  ----------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/cipher/aes.rs:429:38
[INFO] [stdout]     |
[INFO] [stdout] 429 |                 temp = self.sub_word(&temp);
[INFO] [stdout]     |                             -------- ^^^^^ expected `u32`, found `&u32`
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/cipher/aes.rs:450:8
[INFO] [stdout]     |
[INFO] [stdout] 450 |     fn sub_word(&self, w: u32) -> u32 {
[INFO] [stdout]     |        ^^^^^^^^        ------
[INFO] [stdout] help: consider removing the borrow
[INFO] [stdout]     |
[INFO] [stdout] 429 -                 temp = self.sub_word(&temp);
[INFO] [stdout] 429 +                 temp = self.sub_word(temp);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `u32`
[INFO] [stdout]    --> src/cipher/aes.rs:435:17
[INFO] [stdout]     |
[INFO] [stdout] 435 |                 round_keys[i][j] ^= temp[j];
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `u32`
[INFO] [stdout]    --> src/cipher/aes.rs:435:37
[INFO] [stdout]     |
[INFO] [stdout] 435 |                 round_keys[i][j] ^= temp[j];
[INFO] [stdout]     |                                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `copy_from_slice` found for type `{integer}` in the current scope
[INFO] [stdout]    --> src/cipher/aes.rs:416:27
[INFO] [stdout]     |
[INFO] [stdout] 416 |             round_keys[i].copy_from_slice(&self.data[start..end]);
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^ method not found in `{integer}`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/cipher/aes.rs:426:53
[INFO] [stdout]     |
[INFO] [stdout] 426 |                 temp = self.sub_word(&self.rot_word(&temp));
[INFO] [stdout]     |                                            -------- ^^^^^ expected `u32`, found `&u32`
[INFO] [stdout]     |                                            |
[INFO] [stdout]     |                                            arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/cipher/aes.rs:445:8
[INFO] [stdout]     |
[INFO] [stdout] 445 |     fn rot_word(&self, w: u32) -> u32 {
[INFO] [stdout]     |        ^^^^^^^^        ------
[INFO] [stdout] help: consider removing the borrow
[INFO] [stdout]     |
[INFO] [stdout] 426 -                 temp = self.sub_word(&self.rot_word(&temp));
[INFO] [stdout] 426 +                 temp = self.sub_word(&self.rot_word(temp));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/cipher/aes.rs:426:38
[INFO] [stdout]     |
[INFO] [stdout] 426 |                 temp = self.sub_word(&self.rot_word(&temp));
[INFO] [stdout]     |                             -------- ^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `&u32`
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/cipher/aes.rs:450:8
[INFO] [stdout]     |
[INFO] [stdout] 450 |     fn sub_word(&self, w: u32) -> u32 {
[INFO] [stdout]     |        ^^^^^^^^        ------
[INFO] [stdout] help: consider removing the borrow
[INFO] [stdout]     |
[INFO] [stdout] 426 -                 temp = self.sub_word(&self.rot_word(&temp));
[INFO] [stdout] 426 +                 temp = self.sub_word(self.rot_word(&temp));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `u32`
[INFO] [stdout]    --> src/cipher/aes.rs:427:17
[INFO] [stdout]     |
[INFO] [stdout] 427 |                 temp[0] ^= ROUND_CONSTANTS[(i / key_size) - 1];
[INFO] [stdout]     |                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/cipher/aes.rs:429:38
[INFO] [stdout]     |
[INFO] [stdout] 429 |                 temp = self.sub_word(&temp);
[INFO] [stdout]     |                             -------- ^^^^^ expected `u32`, found `&u32`
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/cipher/aes.rs:450:8
[INFO] [stdout]     |
[INFO] [stdout] 450 |     fn sub_word(&self, w: u32) -> u32 {
[INFO] [stdout]     |        ^^^^^^^^        ------
[INFO] [stdout] help: consider removing the borrow
[INFO] [stdout]     |
[INFO] [stdout] 429 -                 temp = self.sub_word(&temp);
[INFO] [stdout] 429 +                 temp = self.sub_word(temp);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `u32`
[INFO] [stdout]    --> src/cipher/aes.rs:435:17
[INFO] [stdout]     |
[INFO] [stdout] 435 |                 round_keys[i][j] ^= temp[j];
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `u32`
[INFO] [stdout]    --> src/cipher/aes.rs:435:37
[INFO] [stdout]     |
[INFO] [stdout] 435 |                 round_keys[i][j] ^= temp[j];
[INFO] [stdout]     |                                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/cipher/aes.rs:441:9
[INFO] [stdout]     |
[INFO] [stdout] 406 |     fn round_keys(&self) -> Vec<[u8; 4]> {
[INFO] [stdout]     |                             ------------ expected `Vec<[u8; 4]>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 441 |         round_keys
[INFO] [stdout]     |         ^^^^^^^^^^ expected array `[u8; 4]`, found `u32`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Vec<[u8; 4]>`
[INFO] [stdout]                found struct `Vec<u32>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/cipher/aes.rs:441:9
[INFO] [stdout]     |
[INFO] [stdout] 406 |     fn round_keys(&self) -> Vec<[u8; 4]> {
[INFO] [stdout]     |                             ------------ expected `Vec<[u8; 4]>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 441 |         round_keys
[INFO] [stdout]     |         ^^^^^^^^^^ expected array `[u8; 4]`, found `u32`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Vec<[u8; 4]>`
[INFO] [stdout]                found struct `Vec<u32>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 20 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0433, E0599, E0608.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cryptopals` due to 21 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 20 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0433, E0599, E0608.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cryptopals` due to 21 previous errors
[INFO] running `Command { std: "docker" "inspect" "567b4798514dcbbf508b62c3d0d0a523297ce5935527d4d1e1b79c6fcea46e40", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "567b4798514dcbbf508b62c3d0d0a523297ce5935527d4d1e1b79c6fcea46e40", kill_on_drop: false }`
[INFO] [stdout] 567b4798514dcbbf508b62c3d0d0a523297ce5935527d4d1e1b79c6fcea46e40
